<?php
if (isset($_POST['vtd']) && isset($_POST['uid'])){
    include '../c/config.php';
    $mysqli = new mysqli($dbhost, $dbuser, $dbpwd, $dbName);
    $id=substr(trim($_POST['vtd']), 3);
    $mysqli->query("update `uinfo_sim` set islock='y' where id='".$id."' ");
    $mysqli->close();
    $mysqli=NULL;

    echo json_encode(array('s'=>'1'));
    exit;
}
